package cn.superchart.common.annotate;
import cn.superchart.common.enums.SearchEnum;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.ANNOTATION_TYPE})
public @interface FieldWhere {

    boolean queryEmpty() default false;
    SearchEnum type() default  SearchEnum.EQ;

    String fieldName() default "";
}
